

#ifndef _SHELL_REQUPJOB_MESSAGE_H_
#define _SHELL_REQUPJOB_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqUpJobMessage : public Message
{
	public:
	ReqUpJobMessage();
	~ReqUpJobMessage();
	void reset();
	ReqUpJobMessage* clone();
	static const int _ID;
	//0升职1降职
	int8 type;
	//升职的角色id
	int64 playerId;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
